package com.mzwise.tunnel.wx.v3.request;

import com.mzwise.tunnel.utils.JsonUtils;

import java.io.Serializable;
import java.sql.Timestamp;

public class CreateStockRequest implements Serializable {

    private Long mchId;
    private String stockName;
    private String comment;
    private String belongMerchant;
    private Timestamp availableBeginTime;
    private Timestamp availableEndTime;
    private Timestamp drawBeginTime; // 附加
    private Timestamp drawEndTime; // 附加
    private Boolean noCash = true;
    private String stockType;
    private String outRequestNo;
    private StockUserRoleRequest stockUseRule;
    private CouponUserRoleRequest couponUseRule;
    private PatternInfoRequest patternInfo;
    private Integer type;

    public Long getMchId() {
        return mchId;
    }

    public void setMchId(Long mchId) {
        this.mchId = mchId;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getBelongMerchant() {
        return belongMerchant;
    }

    public void setBelongMerchant(String belongMerchant) {
        this.belongMerchant = belongMerchant;
    }

    public Timestamp getAvailableBeginTime() {
        return availableBeginTime;
    }

    public void setAvailableBeginTime(Timestamp availableBeginTime) {
        this.availableBeginTime = availableBeginTime;
    }

    public Timestamp getAvailableEndTime() {
        return availableEndTime;
    }

    public void setAvailableEndTime(Timestamp availableEndTime) {
        this.availableEndTime = availableEndTime;
    }

    public Timestamp getDrawBeginTime() {
        return drawBeginTime;
    }

    public void setDrawBeginTime(Timestamp drawBeginTime) {
        this.drawBeginTime = drawBeginTime;
    }

    public Timestamp getDrawEndTime() {
        return drawEndTime;
    }

    public void setDrawEndTime(Timestamp drawEndTime) {
        this.drawEndTime = drawEndTime;
    }

    public Boolean getNoCash() {
        return noCash;
    }

    public void setNoCash(Boolean noCash) {
        this.noCash = noCash;
    }

    public String getStockType() {
        return stockType;
    }

    public void setStockType(String stockType) {
        this.stockType = stockType;
    }

    public String getOutRequestNo() {
        return outRequestNo;
    }

    public void setOutRequestNo(String outRequestNo) {
        this.outRequestNo = outRequestNo;
    }

    public StockUserRoleRequest getStockUseRule() {
        return stockUseRule;
    }

    public void setStockUseRule(StockUserRoleRequest stockUseRule) {
        this.stockUseRule = stockUseRule;
    }

    public CouponUserRoleRequest getCouponUseRule() {
        return couponUseRule;
    }

    public void setCouponUseRule(CouponUserRoleRequest couponUseRule) {
        this.couponUseRule = couponUseRule;
    }

    public PatternInfoRequest getPatternInfo() {
        return patternInfo;
    }

    public void setPatternInfo(PatternInfoRequest patternInfo) {
        this.patternInfo = patternInfo;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String toString() {
        return JsonUtils.toJsonUnderscore(this);
    }
}
